<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="include/common.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<title>用户登陆</title>
	<link rel="stylesheet" type="text/css" href="<%=path %>/css/styles.css" />
	<script type="text/javascript" src="<%=path%>/js/jquery-1.3.2.js"></script>
	<script type="text/javascript">
		function register(){
			window.location.href="<%=path%>/user/addUser.jsp";
		}
		</script>
	<style type="text/css">
	*{margin=0;padding=0;}
	body{ font-family: Georgia, "Times New Roman", Times, serif; font-size:12px; }
	#top{
		height:60px;
	}
	#center{
		position:relative;
		height:500px;
		background: url(<%=path%>/image/back.jpg) no-repeat center;}
	#center form label{
		display:inline;
		color:black;
		font-size:16px;
		font-weight:bolder;
	}
	#center form{
	position: absolute;
	left: 365px;
	top: 463px;
	}
	#bottom{
		padding-top:10px;
		line-height:18px;
		color:blue;
		font-size:14px;
		font-weight:800;
		text-align:center;
	}
	
	</style>
	
  </head>
  
  <body style="background-color:#FFFFFF;"> 
  <div id="top"></div>
  <div id="alertinfo" style="height: 10px; line-height: normal; color: red;"><%
		if(request.getParameter("failed")!=null && "true".equals(request.getParameter("failed"))){
			out.print("登陆失败请重试");
		}
	%></div>
  <div id="center">
  	<div align="center" style="text-align: center;">
  	<form action="<%=path%>/user/userlogin.action" method="post">
		<label for="username">用户名：</label><input type="text" name="user.loginName" id="username"/>
		<label for="password">密  码：</label><input type="password" name="user.password" id="password"/>
  		<input type="submit" class="submit" value="&nbsp; 登 录 &nbsp;" />
  		<input name="注册" type="button" onclick="register();" value="&nbsp; 注 册 &nbsp;" size="20" class="button_r" tabindex="4" style=" cursor: pointer;" /> 
  	</form>
  	</div>
  </div>
  	<div id="bottom">
  		NWU.TrustLib 2008 . All Rights Reserved.
   	</div>
  <div>
  
  </div>
  </body>
</html>
